<template>
  <div class="container-position mt15">
        <div class="wxkj-tab">
           <el-tabs v-model="state"  @tab-click='getList'>
                <el-tab-pane label="全部" name="9">
                </el-tab-pane>
                <el-tab-pane label="招聘中" name="0">
                </el-tab-pane>
                <el-tab-pane label="已关闭" name="1">
                </el-tab-pane>
            </el-tabs>
       </div>
    <position :state="state" :isSpecialSession="false" view="positionmanage" ref="position" class="mt15"/>
  </div>
</template>

<script>
import position from '@/views/special-session/components/position'
export default {
  name: '',
  components: {position},
  props: {},
  data() {
    return {
        state: '9'
    };
  },
// 方法
  methods: {
      getList(){
          this.$refs.position.getListRecruitmentState(this.state);
      }
  },
// 生命周期 - 创建完成（可以访问当前this实例）
  created() {},
// 生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
// 销毁
  destroyed() {}
};
</script>
<style lang="scss" scoped>
  
</style>